package com.ants.boot.wx.service;

import com.ants.boot.wx.domain.WxSuggest;
import com.ants.boot.wx.dto.wxsuggest.AddWxSuggestDto;
import com.ants.boot.wx.dto.wxsuggest.QueryWxSuggestDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 蚂蚁会花呗
 * @date 2022/6/1 10:43
 */
public interface WxSuggestService extends IService<WxSuggest> {

    /**
     * 分页及搜索查询
     * @param dto
     * @return
     */
    IPage<WxSuggest> pageInfo(QueryWxSuggestDto dto);

    /**
     * 新增建议
     * @param dto
     * @return
     */
    boolean addSuggest(AddWxSuggestDto dto);

    /**
     * 根据ids删除
     * @param ids
     * @return
     */
    boolean delSuggest(List<Integer> ids);
}
